package cn.iocoder.an.module.mold.controller.admin.repairjob.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.an.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.an.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 模具维修任务分页 Request VO")
@Data
public class RepairJobPageReqVO extends PageParam {

    @Schema(description = "单号")
    private String code;

    @Schema(description = "模具台账ID", example = "6570")
    private Long accountId;

    @Schema(description = "维修分类Id", example = "4077")
    private Long repairCategoryId;

    @Schema(description = "故障分类Id", example = "16935")
    private Long faultId;

    @Schema(description = "接收人Id", example = "16935")
    private Long assigneerId;

    @Schema(description = "申请人ID", example = "16366")
    private Long applicantId;

    @Schema(description = "申请部门", example = "21521")
    private Long departId;

    @Schema(description = "申请时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] applicationTime;

    @Schema(description = "故障描述", example = "你猜")
    private String faultDescription;

    @Schema(description = "状态", example = "1")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}